package com.tanger.permission.entity.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * @Description 用户角色VO类
 * @Author Hchenbin
 * @Date 2022/6/27 18:04
 * @Version 1.0
 */
@Data
@ApiModel("用户角色权限")
public class UserRoleVo implements Serializable{

    @ApiModelProperty("ID")
    private Long id;
    @ApiModelProperty("用户ID")
    private Long userId;
    @ApiModelProperty("角色ID")
    private Long roleId;
    @ApiModelProperty("角色编码")
    private String roleCode;
    @ApiModelProperty("角色名称")
    private String roleName;
    @ApiModelProperty("是否可用(1.可用 0.禁用)")
    private Integer isAble;
    @ApiModelProperty("是否删除(1.是 0.否)")
    private Integer isDel;
    @ApiModelProperty("角色权限集合")
    private List<RolePermissionVo> rolePermissions;
}
